﻿#ifndef EVENTFRAGMENT_H
#define EVENTFRAGMENT_H

#include "event.h"

#include <QWidget>

namespace Ui {
class EventFragment;
}

class EventFragment : public QWidget {
    Q_OBJECT
private:
    Ui::EventFragment *ui;
    Event event;
public:
    EventFragment(Event event,QWidget *parent = nullptr);
    ~EventFragment();
    bool chosen();
signals:
    void onEventChange(Event event);
private slots:
    void on_pushButton_clicked();
};

#endif // EVENTFRAGMENT_H
